package com.gaohe.dcp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gaohe.common.annotation.Excel;
import com.gaohe.common.core.domain.BaseEntity;

/**
 * 病患管理对象 dcp_patient
 *
 * @author ruoyi
 * @date 2025-04-23
 */
public class DcpPatient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */

    @Excel(name = "userId")
    private  Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Excel(name = "年龄")
    private int age;
    @Excel(name = "所属医生")
    private String doctor;
    @Excel(name = "所用量表")
    private String scale;
    @Excel(name = "完成情况")
    private int status;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getDoctor() {
        return doctor;
    }

    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }

    public String getScale() {
        return scale;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }
    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }




    private Long patientId;

    /** 病患名称 */
    @Excel(name = "病患名称")
    private String childName;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birth;

    /** 年级 */
    @Excel(name = "年级")
    private String grade;

    /** 住院号 */
    @Excel(name = "住院号")
    private String admissionNumber;

    /** 就诊卡号 */
    @Excel(name = "就诊卡号")
    private String cardNumber;

    /** 民族 */
    @Excel(name = "民族")
    private String ethnicity;

    /** 父亲职业 */
    @Excel(name = "父亲职业")
    private String fatherOccupation;

    /** 母亲职业 */
    @Excel(name = "母亲职业")
    private String motherOccupation;

    /** 门诊号 */
    @Excel(name = "门诊号")
    private String patientNumber;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phonenumber;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String address;

    public void setPatientId(Long patientId)
    {
        this.patientId = patientId;
    }

    public Long getPatientId()
    {
        return patientId;
    }

    public void setChildName(String childName)
    {
        this.childName = childName;
    }

    public String getChildName()
    {
        return childName;
    }

    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public String getGender()
    {
        return gender;
    }

    public void setBirth(Date birth)
    {
        this.birth = birth;
    }

    public Date getBirth()
    {
        return birth;
    }

    public void setGrade(String grade)
    {
        this.grade = grade;
    }

    public String getGrade()
    {
        return grade;
    }

    public void setAdmissionNumber(String admissionNumber)
    {
        this.admissionNumber = admissionNumber;
    }

    public String getAdmissionNumber()
    {
        return admissionNumber;
    }

    public void setCardNumber(String cardNumber)
    {
        this.cardNumber = cardNumber;
    }

    public String getCardNumber()
    {
        return cardNumber;
    }

    public void setEthnicity(String ethnicity)
    {
        this.ethnicity = ethnicity;
    }

    public String getEthnicity()
    {
        return ethnicity;
    }

    public void setFatherOccupation(String fatherOccupation)
    {
        this.fatherOccupation = fatherOccupation;
    }

    public String getFatherOccupation()
    {
        return fatherOccupation;
    }

    public void setMotherOccupation(String motherOccupation)
    {
        this.motherOccupation = motherOccupation;
    }

    public String getMotherOccupation()
    {
        return motherOccupation;
    }

    public void setPatientNumber(String patientNumber)
    {
        this.patientNumber = patientNumber;
    }

    public String getPatientNumber()
    {
        return patientNumber;
    }

    public void setPhonenumber(String phonenumber)
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber()
    {
        return phonenumber;
    }

    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("patientId", getPatientId())
            .append("userId", getUserId())
            .append("childName", getChildName())
            .append("gender", getGender())
            .append("birth", getBirth())
            .append("grade", getGrade())
            .append("admissionNumber", getAdmissionNumber())
            .append("cardNumber", getCardNumber())
            .append("ethnicity", getEthnicity())
            .append("fatherOccupation", getFatherOccupation())
            .append("motherOccupation", getMotherOccupation())
            .append("patientNumber", getPatientNumber())
            .append("phonenumber", getPhonenumber())
            .append("address", getAddress())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
